import http from './api.js';

export function orderAdd(userid:string){
    return http({
        url: "/api/order/addOrder",
        method:'post',
        data:{userid}
    });
}
export function orderConfirm(obj:any){
    return http({
        url: "/api/order/confirmOrder",
        method:'get',
        params:obj
    });
}
export function orderDel(obj:any){
    return http({
        url: "/api/order/deleteCartItem",
        method:'get',
        params:obj
    });
}